<?php

class Remove extends Controller {
	
	function Remove() {
		parent::Controller();
	}

	function id($id) {
		$task = $this->Tasks->fetch($id);
		$this->Tasks->remove($id);
		redirect('project/view/id/'.$task->project_id, 'location');
	}
}

?>
